package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lfh
 * @version 1.0
 * @date 2021/5/13 16:56
 */
public interface CustomerDao {
    // 客户列表分页
    List<Customer> getCustomerList(@Param("offSet") Integer offSet,@Param("rows") Integer rows,@Param("customerName") String customerName);

    // 修改客户
    void updateCustomer(Customer customer);

    // 添加客户
    void save(Customer customer);

    // 批量删除客户
    void deleteCustomer(@Param("ids") String[] ids);
}
